/*
 * CommandPeserObj.h
 *
 *  Created on: 2 janv. 2012
 *      Author: jeddi
 */

#ifndef _COMMANDPESEROBJ_H_
#define _COMMANDPESEROBJ_H_
#include "Command.h"
#include "CommandRobot.h"

class CommandPeserObj: public Command, public CommandRobot {

public:
	static CommandPeserObj maCmd;

	CommandPeserObj(Robot*r=NULL,string d=(string)"PESER") : CommandRobot(r), Command(d) {}

	CommandPeserObj* constVirtual(Robot* rob) {
		return new CommandPeserObj(rob);
	}
	CommandPeserObj(string str):Command(str),CommandRobot(){}
	void executer() {
		r->peser();
	}

};

#endif
